package cn.tedu.antconlonysever.contract.service;

import cn.tedu.antcolonycommons.pojo.vo.PageData;
import cn.tedu.antconlonysever.contract.pojo.param.RespiteAddNewParam;
import cn.tedu.antconlonysever.contract.pojo.param.RespiteUpdateParam;
import cn.tedu.antconlonysever.contract.pojo.vo.RespiteListVO;
import cn.tedu.antconlonysever.contract.pojo.vo.RespiteStandardVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IRespiteService {
    void addNew(RespiteAddNewParam respiteAddNewParam);
    void delete(Long id);
    void updateInfoById(Long id, RespiteUpdateParam respiteUpdateParam);
    RespiteStandardVO getStandardById(Long id);
    PageData<RespiteListVO> list(Integer pageNum);
    PageData<RespiteListVO> list(Integer pageNum,Integer pageSize);
}
